package com.lyp.qczp.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.PageRequest;

import com.lyp.qczp.entity.Organiza;

public interface OrganizaService {
	/**
	 * 增改
	 */
	int save(Organiza organiza);
	/**
	 * 删
	 */
	int deleteById(Integer oId);
	/**
	 * 分页查询所有机构
	 */
	Map<String, Object> findAll(PageRequest pageable,Organiza organiza);
	//查询所有
	public List<Organiza> selectfindAll();
	List<Organiza> selectbyfu(Integer oParent);
}
